//
//  NSArray+Addition.m
//  TravelGuideMdd
//
//  Created by HanFeng on 1/2/15.
//  Copyright (c) 2015 mafengwo.com. All rights reserved.
//

#import "NSArray+Addition.h"

@implementation NSArray (Addition)

- (NSMutableArray *)reversedArray
{
    NSMutableArray *array = [NSMutableArray arrayWithCapacity:[self count]];
    NSEnumerator *enumerator = [self reverseObjectEnumerator];
    for (id element in enumerator) {
        [array addObject:element];
    }
    return array;
}



@end
